package com.sky.service.admin;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.pojo.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description DishService
 * @Author weibaoping
 * @Date 2025-08-14 10:36 AM
 */

public interface DishService {
    void save(DishDTO dishDTO);


    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);


    DishVO getById(Long id);


    void updateWithFlavors(DishDTO dishDTO);


    List<Dish> getByCategoryId(Long categoryId);


    List<DishVO> getDishWithFlavors(Long categoryId);
}
